import { KuiDividerProps } from './type';
import { PropType } from 'vue';

export default {
	/**
	 * @zh 是否是虚线
	 */
	dashed: {
		type: Boolean,
		default: false
	},
	/**
	 * @zh 方向
	 */
	direction: {
		type: String as PropType<KuiDividerProps['direction']>,
		default: 'row' as KuiDividerProps['direction']
	},
	/**
	 * @zh 缩进
	 */
	inset: {
		type: String,
		default: ''
	},
	/**
	 * @zh 缩进方向
	 */
	insetDirection: {
		type: String as PropType<KuiDividerProps['insetDirection']>,
		default: 'start' as KuiDividerProps['insetDirection']
	},
	/**
	 * @zh margin
	 */
	margin: {
		type: String,
		default: ''
	},
	/**
	 * @zh 最小像素
	 */
	minPx: {
		type: Boolean,
		default: false
	},
	/**
	 * @zh 描述文本位置
	 */
	textPosition: {
		type: String as PropType<KuiDividerProps['textPosition']>,
		default: 'center' as KuiDividerProps['textPosition']
	},
	/**
	 * @zh 分割线颜色
	 */
	color: {
		type: String,
		default: ''
	},
	/**
	 * @zh theme 主题
	 */
	theme: {
		type: String,
		default: ''
	}
}